export interface ListItemProps {
  dTime: string;
  aTime: string;
  dStation: string;
  aStation: string;
  trainNumber: string;
  date: string;
  time: string;
  priceMsg: string;
  dayAfter: string;
}

export interface TrainQuery {
  from: string | null;
  to: string | null;
  date: string | null;
  highSpeed: boolean;
}

export const initSender = {
  id: 1,
  // 是否客服，1是客服，0是用户
  isService: 0,
  // 发送者姓名
  name: 'anf',
  // 在线状态
  onlineState: false,
  // 用户 socketId
  socketId: '1',
  // 来源
  source: '',
  // 手机号
  mobile: '',
  // 昵称
  nickName: '',
  // 卡号
  cardNo: '',
  // 接待用户数量
  receptNum: 0,
  // outTradeNo接受对象
  OutTradeNo: 100,
};
export type senderType = typeof initSender;

export const initRevicer = {
  id: 1,
  isService: 1,
  name: '',
  socketId: '',
  source: '',
  mobile: '',
  nickName: '',
  cardNo: '',
  receptNum: 2,
  // outTradeNo接受对象
  OutTradeNo: -1,
};
export type revicerType = typeof initRevicer;
